package com.stylefeng.guns.modular.system.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.stylefeng.guns.modular.system.dao.DjgMapper;
import com.stylefeng.guns.modular.system.model.Djg;
import com.stylefeng.guns.modular.system.service.IDjgService;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author stylefeng123
 * @since 2018-06-08
 */
@Service
public class DjgServiceImpl extends ServiceImpl<DjgMapper, Djg> implements IDjgService {

	@Resource
    private DjgMapper djgMapper;
	
	@Override
	public Djg selectByDate(Djg newDjg) {
		return djgMapper.selectByDate(newDjg);
	}

	@Override
	public List<Map<String, Object>> selectMapsByDm(Page<Djg> page, String gDm,
			String gBdtype,Integer zjc) {
		return djgMapper.selectMapsByDm(page,gDm,gBdtype,zjc);
	}

	@Override
	public List<Map<String, Object>> selectDetailMapsByDm(Page<Djg> page,
			String gDm) {
		return djgMapper.selectDetailMapsByDm(page,gDm);
	}

}
